package com.back.service;

import com.back.model.dto.user.RegisterDTO;
import com.back.model.dto.user.UpdatePasswordDTO;
import com.back.model.dto.user.UserDTO;
import com.back.model.dto.user.UserQueryPageDTO;
import com.back.model.entity.User;
import com.back.model.reslut.PageData;
import com.back.model.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author haoshuai
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2024-06-29 15:23:08
*/
public interface UserService extends IService<User> {

    Boolean register(RegisterDTO registerDTO);

    UserVO login(UserDTO user);


    PageData<UserVO> getPageUser(UserQueryPageDTO userQueryPageDTO);


    Boolean updateUserPassword(UpdatePasswordDTO updatePasswordDTO);


    Boolean TetstRession();
}
